package cn.lgs.com.mobileplayer.utils;

import android.os.Handler;
import android.support.v4.app.Fragment;

import java.lang.ref.WeakReference;

/**
 * Created by lgs on 2018/3/4.
 */

public class UIHandler extends Handler {

    private WeakReference<Fragment> softReference;

    public UIHandler(Fragment fragment) {
        this.softReference = new WeakReference<>(fragment);
    }

    public WeakReference<Fragment> getSoftReference() {
        return softReference;
    }


}
